home *** CD-ROM | disk | FTP | other *** search
- /**********************************************************************\
- *
- * Copyright (c) 1994 Carnegie Mellon University
- * All rights reserved.
- *
- * Use and copying of this software and preparation of derivative
- * works based on this software are permitted, including commercial
- * use, provided that the following conditions are observed:
- *
- * 1. This copyright notice must be retained in full on any copies
- * and on appropriate parts of any derivative works.
- * 2. Documentation (paper or online) accompanying any system that
- * incorporates this software, or any part of it, must acknowledge
- * the contribution of the Gwydion Project at Carnegie Mellon
- * University.
- *
- * This software is made available "as is". Neither the authors nor
- * Carnegie Mellon University make any warranty about the software,
- * its performance, or its conformity to any specification.
- *
- * Bug reports, questions, comments, and suggestions should be sent by
- * E-mail to the Internet address "gwydion-bugs@cs.cmu.edu".
- *
- ***********************************************************************
- *
- * $Header: fileops.h,v 1.12 94/11/28 07:55:34 wlott Exp $
- *
- * This file defines the various file opcodes.
- *
- \**********************************************************************/
-
-
- #define dbc_MagicNumber 0x6e789abe
-
- #define file_MajorVersion 2
- #define file_MinorVersion 1
-
- #define fop_FLAME 0
- #define fop_HEADER 1
- #define fop_STORE 2
- #define fop_SHORT_REF 3
- #define fop_REF 4
-
- #define fop_FALSE 5
- #define fop_TRUE 6
- #define fop_UNBOUND 7
-
- #define fop_SIGNED_BYTE 8
- #define fop_SIGNED_SHORT 9
- #define fop_SIGNED_INT 10
- #define fop_SIGNED_LONG 11
- #define fop_CHAR 12
- #define fop_SINGLE_FLOAT 13
- #define fop_DOUBLE_FLOAT 14
- #define fop_EXTENDED_FLOAT 15
-
- #define fop_SHORT_STRING 16
- #define fop_STRING 17
- #define fop_SHORT_SYMBOL 18
- #define fop_SYMBOL 19
-
- #define fop_NIL 20
- #define fop_LIST1 21
- #define fop_LIST2 22
- #define fop_LIST3 23
- #define fop_LIST4 24
- #define fop_LIST5 25
- #define fop_LIST6 26
- #define fop_LIST7 27
- #define fop_LIST8 28
- #define fop_LISTN 29
-
- #define fop_DOTTED_LIST1 30
- #define fop_DOTTED_LIST2 31
- #define fop_DOTTED_LIST3 32
- #define fop_DOTTED_LIST4 33
- #define fop_DOTTED_LIST5 34
- /* Note: 35 is taken by '#' */
- #define fop_DOTTED_LIST6 36
- #define fop_DOTTED_LIST7 37
- #define fop_DOTTED_LIST8 38
- #define fop_DOTTED_LISTN 39
-
- #define fop_VECTOR0 40
- #define fop_VECTOR1 41
- #define fop_VECTOR2 42
- #define fop_VECTOR3 43
- #define fop_VECTOR4 44
- #define fop_VECTOR5 45
- #define fop_VECTOR6 46
- #define fop_VECTOR7 47
- #define fop_VECTOR8 48
- #define fop_VECTORN 49
-
- #define fop_VALUE_CELL 50
- #define fop_WRITABLE_VALUE_CELL 51
- #define fop_BUILTIN_VALUE_CELL 52
- #define fop_BUILTIN_WRITABLE_VALUE_CELL 53
- #define fop_NOTE_REFERENCE 54
-
- #define fop_SHORT_COMPONENT 55
- #define fop_COMPONENT 56
- #define fop_SHORT_METHOD 57
- #define fop_METHOD 58
-
- #define fop_IN_LIBRARY 60
- #define fop_IN_MODULE 61
- #define fop_SOURCE_FILE 62
- #define fop_TOP_LEVEL_FORM 63
- #define fop_DEFINE_CONSTANT 64
- #define fop_DEFINE_VARIABLE 65
- #define fop_DEFINE_GENERIC 66
- #define fop_DEFINE_METHOD 67
- #define fop_DEFINE_CLASS 68
- #define fop_DEFINE_LIBRARY 69
- #define fop_DEFINE_MODULE 70
-
- #define fop_VARREF_EXPR 100
- #define fop_LITERAL_EXPR 101
- #define fop_CALL_EXPR 102
- #define fop_DOT_EXPR 103
- #define fop_METHOD_EXPR 104
- #define fop_BODY_EXPR 105
- #define fop_BLOCK_EXPR 106
- #define fop_IF_EXPR 107
- #define fop_VARSET_EXPR 108
- #define fop_LOOP_EXPR 109
- #define fop_REPEAT_EXPR 110
-
- #define fop_EXPR_CONSTITUENT 120
- #define fop_LOCAL_CONSTITUENT 121
- #define fop_HANDLER_CONSTITUENT 122
- #define fop_LET_CONSTITUENT 123
-
- #define fop_DONE 255
-